package com.moviesearch.elastic7.service.impl;

import com.moviesearch.elastic7.mapper.FilmresourcesMapper;
import com.moviesearch.elastic7.model.Filmresources;
import com.moviesearch.elastic7.service.MysqlService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class MysqlServiceImpl implements MysqlService {
    @Resource
    private FilmresourcesMapper FilmresourcesMapper;
    @Override
    public Filmresources selectById(Integer id) {
        Filmresources filmresources = FilmresourcesMapper.selectByPrimaryKey(id);
        return filmresources;
    }
}
